import Vue from 'vue'
import VueRouter from 'vue-router'

import Home from '../components/page'
import cloud from '../components/cloud'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: Home
  },
  {
    path: '/cloud',
    component: cloud
  }
]

const router = new VueRouter({
  routes
})

export default router
